package com.isorf.mapper;

import com.isorf.pojo.Shoe;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface ShoeMapper {
    // 使用XML映射进行增删改查操作
    int addShoe(Shoe shoe);
    int deleteShoe(int shoeId);
    int updateShoe(Shoe shoe);
    Shoe getShoeById(int shoeId);

    List<Shoe> getAllShoes();
} 